package com.example.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.example.domain.DeptDBEntity;

@Repository
public interface DeptMapper{
	
	public List<DeptDBEntity> queryCompanyList();
	
	public List<DeptDBEntity> querySubcompanyList();
	
	public List<DeptDBEntity> queryDeptList();
	
	public List<DeptDBEntity> queryDeptListByPid(@Param("pid")String pid);
	
	public int queryWorkDaysByMonth(@Param("date")String date);
	
	public int queryWorkDaysByYear(@Param("year")String year);
	
}
